package com.twu.biblioteca;

import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 8/22/13
 * Time: 6:08 PM
 * To change this template use File | Settings | File Templates.
 */
public enum Options {
    PrintBooks {
        public void print(BookLibrary bookLibrary) {
            new PrintBooks(bookLibrary);
        }
    },
    Reserve {
        public void reserve(BookLibrary bookLibrary, Printer printer, BibliotecaApp bibliotecaApp) throws IOException {
            new Reserve(bookLibrary, printer, bibliotecaApp);
        }
    },
    Error {
        public void error(Printer printer) {
            new Error(printer);
        }
    }


}
